package cn.wjh.business.domain.vo;

import cn.wjh.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 有道翻译api返回来的结果
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class YouDaoTranslateResultVo extends BaseEntity {
    /*状态码*/
    private String errorCode;
    private String languageCode;
    private List<String> translation;
    private String query;

    public YouDaoTranslateResultVo() {
    }

    public YouDaoTranslateResultVo(String languageCode, List<String> translation, String query) {
        this.languageCode = languageCode;
        this.translation = translation;
        this.query = query;
    }
}
